package com.shkco.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class StockDto {

    @NotNull(message = "参数不能为空")
    private Long productId;
    private Integer count;
    private Long userId;
}
